/*
 * Copyright 2007 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.google.gwt.user.client.ui;

/**
 * A tag interface that is used in the generation of gadgets. Obtain an image bundle 
 * instance by calling
 * <code>GWT.create(<i>T</i>)</code>, where <code>T</code> is an
 * interface that directly or indirectly extends <code>Gadget</code>.
 * 
 * <p>
 * To create and use an image bundle, extend the <code>Gadget</code>
 * interface, one method must be void setModulePrefs() and metadata starting with <code>@gadget.< prefname ></code>
 * where pref name is the name of a standard gadget module prefernce, followed by your
 * value for that preference. All other methods must be in the form getUserPref where
 * UserPref is the name of the user preference you would like to define. Metadata in teh same
 * format as in the previous example using standard user preference names. Do not use 
 * quotation marks around your preference values.
 **/

public interface Gadget {
}
